/*
 * @Author       : djl
 * @Date         : 2024-06-12 23:25:51
 * @LastEditors  : djl
 * @LastEditTime : 2024-06-12 23:25:56
 * @Description  : 描述信息
 */
import request, { post } from '@/utils/request';

/**
 * 获取我所在学校的班级基本信息
 * @returns
 */
export async function getSettings(xxNo, bjNo) {
  return request(`/api/classBoard/getSettings?xxNo=${xxNo}&bjNo=${bjNo}`);
}

/**
 *
 * @returns 保存布局
 */
export async function saveSettings(payload) {
  return post(`/api/classBoard/saveSettings`, payload);
}

export async function getDashboardUrl(xxNo) {
  return request(`/api/dashboard/getDashboardUrl?xxNo=${xxNo}`);
}
